import time

from appium.webdriver.common.mobileby import MobileBy

from APP_UI_TEST.contacts_podemo.base.base_page import BasePage


class EditMemberPage(BasePage):
    """个人信息编辑页"""
    search_count=0
    def delete_member(self):
        """ 删除成员 """
        # 滑动查找“删除成员”
        self.swipe_find_text("删除成员").click()
        # 删除成员弹窗-确认
        self.driver.find_element(MobileBy.XPATH, "//*[@text='确定']").click()
        return self


